home *** CD-ROM | disk | FTP | other *** search
- 58
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- SetMultiDisplay
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baSetMultiDisplay sets the screen size and depth of multiple monitors.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baSetMultiDisplay( Monitor, Width, Height, Depth, Refresh, Mode, Flags )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String, integer, integer, integer, integer, string, integer.
- --- RECORDSEPARATOR ---
- Monitor is the monitor to change.
- --- RECORDSEPARATOR ---
- Width is the new width of the screen in pixels.
- --- RECORDSEPARATOR ---
- Height is the new height of the screen in pixels.
- --- RECORDSEPARATOR ---
- Depth is the new depth of the screen in bits.
- --- RECORDSEPARATOR ---
- Refresh is the new refresh frequency.
- --- RECORDSEPARATOR ---
- Mode is the way in which the new display is set. Can be:
- --- RECORDSEPARATOR ---
- "temp"
- --- RECORDSEPARATOR ---
- temporarily change the display settings.
- --- RECORDSEPARATOR ---
- "perm"
- --- RECORDSEPARATOR ---
- permanently change the display settings.
- --- RECORDSEPARATOR ---
- "test"
- --- RECORDSEPARATOR ---
- tests whether the display can be set without restarting.
- --- RECORDSEPARATOR ---
- Flags changes options of the function.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer.
- --- RECORDSEPARATOR ---
- Returns 0 if the display was changed or can be changed without restarting.
- --- RECORDSEPARATOR ---
- Returns 1 if Windows will need to be restarted for the change to take effect.
- --- RECORDSEPARATOR ---
- Returns less than 0 if another error occurred, eg invalid screen size.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- OK = baSetMultiDisplay( "primary", 640 , 480 , 8 , 75 , "temp" , 2 )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- OK := baSetMultiDisplay( "primary", 640 , 480 , 8 , 75 , "temp" , 2 )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Monitor is the name of the monitor to change, eg: "\\.\DISPLAY1". You can get a list
- --- RECORDSEPARATOR ---
- of the current monitors by calling baMultiDisplayList. You can use a value of
- --- RECORDSEPARATOR ---
- "primary" to set the primary display without knowing its name, and "secondary" to
- --- RECORDSEPARATOR ---
- change the secondary display.
- --- RECORDSEPARATOR ---
- There are 2 flags defined:
- --- RECORDSEPARATOR ---
- 1
- --- RECORDSEPARATOR ---
- Force. Forces the display to change even if it doesn't support changing. Use
- --- RECORDSEPARATOR ---
- with caution.
- --- RECORDSEPARATOR ---
- 2
- --- RECORDSEPARATOR ---
- Reset. When the projector quits, the screen settings will be reset to their
- --- RECORDSEPARATOR ---
- original values. Using this flag means there is no need for you to restore the
- --- RECORDSEPARATOR ---
- display before you quit the projector. All displays in the system will be reset,
- --- RECORDSEPARATOR ---
- not just the display specified in the function.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- (continued next page)